package com.zss.admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zss.admin.service.AdminProjectService;
import com.zss.pojo.TbProject;
import com.zss.pojo.vo.TbProjectVo;
import com.zss.staff.mapper.ProjectMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class AdminProjectServiceImpl extends ServiceImpl<ProjectMapper,TbProject> implements AdminProjectService {

    @Resource
    ProjectMapper projectMapper;

    @Override
    public List<TbProject> list() {
        return projectMapper.list();
    }

    @Override
    public List<TbProjectVo> selectListAll() {
        return projectMapper.selectListAll();
    }


}
